<template>
  <div class="cover" v-if="!isContent">
  </div>
</template>

<script>
export default {
  data() {
    return {
      isContent:''
    }
  },
  mounted() {
    this.isContent = this.$route.meta.isContent
  },
  watch: {
    '$route' () {
      this.isContent = this.$route.meta.isContent
    }
  },
}
</script>

<style scoped>
   .cover{
    box-shadow: 0 1px 6px 0 rgb(0 0 0 / 5%);
    background: url('../assets/images/bg-black-cover.jpeg');
    background-position: center;
    background-size: cover;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    position: fixed;
    z-index: -1;
  }
</style>